package org.adorsys.aderp.om.domain;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.ManyToMany;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.jpa.entity.RooJpaEntity;
import org.springframework.roo.addon.tostring.RooToString;

@RooJavaBean
@RooToString
@RooJpaEntity
public class OmData {

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<CustomerCat> customerCats = new HashSet<CustomerCat>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<OrgaPersonRef> orgaPersonRefs = new HashSet<OrgaPersonRef>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Customer> customers = new HashSet<Customer>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<OrderCategory> orderCategories = new HashSet<OrderCategory>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<PayementState> payementStates = new HashSet<PayementState>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<InvoiceState> invoiceStates = new HashSet<InvoiceState>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<Invoice> invoices = new HashSet<Invoice>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<ProductRef> productRefs = new HashSet<ProductRef>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<InvoiceItem> invoiceItems = new HashSet<InvoiceItem>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<SalesOrder> salesOrders = new HashSet<SalesOrder>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<OrderItem> orderItems = new HashSet<OrderItem>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<DeliveryNote> deliveryNotes = new HashSet<DeliveryNote>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<DnItem> dnItems = new HashSet<DnItem>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<ReturnNote> returnNotes = new HashSet<ReturnNote>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<ItemState> itemStates = new HashSet<ItemState>();

    @ManyToMany(cascade = CascadeType.ALL)
    private Set<RnItem> rRnItems = new HashSet<RnItem>();
}
